package com.sskj.b70.m.bean;

import com.sskj.b70.utils.TimeFormatUtil;

import java.util.Date;

public class FabiPublishListBean {

    /**
     * {
     "id": 101,
     "stockUserId": 58,
     "stockCode": "",
     "entrustNo": "15330076555112n7e07fpg",
     "transNum": 23,
     "dealsNum": 23,
     "price": 6.8,
     "totalPrice": 156.4,
     "minPrice": 56,
     "maxPrice": 200,
     "status": 1,
     "fee": "",
     "createTime": 1533007655000,
     "payType": "",
     "isDeleted": false,
     "timestamp": 1533007655000
     }
     */
    /**
     * id : 6
     * entrustNo : 15306159738586809165
     * transNum : 11.0000
     * dealsNum : 0.0000
     * totalPrice : 220.00
     * price : 20.00
     * status : 1
     * timestamp : 1530615973
     */

    private String id;
    private String entrustNo;
    private String transNum;
    private String dealsNum;
    private String totalPrice;
    private String price;
    private String status;
    private String timestamp;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEntrustNo() {
        return entrustNo;
    }

    public void setEntrustNo(String entrustNo) {
        this.entrustNo = entrustNo;
    }

    public String getTransNum() {
        return transNum;
    }

    public void setTransNum(String transNum) {
        this.transNum = transNum;
    }

    public String getDealsNum() {
        return dealsNum;
    }

    public void setDealsNum(String dealsNum) {
        this.dealsNum = dealsNum;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTimestamp() {
        return TimeFormatUtil.SF_FORMAT_F.format(new Date(Long.valueOf(timestamp)));
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }
}
